/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-04-29
*/
package com.rzico.report.service;

import com.rzico.base.BaseMapper;
import com.rzico.base.impl.BaseServiceImpl;
import com.rzico.report.entity.OrderSaleCountVo;
import com.rzico.report.entity.ReceiveCountVo;
import com.rzico.report.mapper.OrderSaleCountMapper;
import com.rzico.report.mapper.ReceiveCountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <pre>
 * 销售订单统计
 * </pre>
 *
 * @author Rzico Boot
 * @version 1.0
 */
@Service
public class ReceiveCountService extends BaseServiceImpl<ReceiveCountVo, String> {

    @Autowired
    private ReceiveCountMapper receiveCountMapper;


    @Override
    public BaseMapper<ReceiveCountVo, String> getMapper() {
        return receiveCountMapper;
    }


    public List<ReceiveCountVo> selectDateList(Map<String, Object> params){
        return receiveCountMapper.selectDateList(params);
    }

    public List<ReceiveCountVo> selectSummary(Map<String, Object> params){
        return receiveCountMapper.selectSummary(params);
    }
}
